package com.sumer.psychology.sharing.domain.model;

import com.sumer.psychology.common.domain.model.AbstractDomainEvent;
import com.sumer.psychology.tag.domain.model.Tag;

import java.util.Set;

/**
 * User: zhenguang.zhu
 * Date: 2014/9/10
 * Time: 16:38
 */
public class SharedResourceTagReplacedEvent extends AbstractDomainEvent {
    private SharedResourceId sharedResourceId;
    private Set<Tag> tags;
    private Set<Tag> removedTags;

    public SharedResourceTagReplacedEvent(SharedResourceId sharedResourceId, Set<Tag> tags, Set<Tag> removedTags) {
        super();
        this.sharedResourceId = sharedResourceId;
        this.tags = tags;
        this.removedTags = removedTags;
    }

    public SharedResourceId sharedResourceId() {
        return sharedResourceId;
    }

    public Set<Tag> tags() {
        return tags;
    }

    public Set<Tag> removedTags() {
        return removedTags;
    }
}
